<ion-view view-title="订单" hide-tabs="true">
	<ion-content has-header="true" >
		<div class="list card">
			<div class="item item-body">
				<h4>收货人：{{order.goodsDeliveryAddress.name}} {{order.goodsDeliveryAddress.phone}}</h4>
				<h4>收货地址：{{order.goodsDeliveryAddress.province}}{{order.goodsDeliveryAddress.city}}{{order.goodsDeliveryAddress.area}}{{order.goodsDeliveryAddress.street}}{{order.goodsDeliveryAddress.detail}}</h4>
			</div>
			
			<div class="item item-body" ng-repeat="goods in order.goodsList">
			    <p> {{goods.goodsName}}  </p>
			    <p> {{goods.realPrice}} </p>
			    <p> 购买数量:{{goods.goodsNumber}} </p>
			    <p> 配送方式 [快递 包邮]</p>
			</div>
			
			<div class="item tabs tabs-secondary tabs-icon-left">
			  <a class="tab-item" href="#">
			   	合计：￥{{order.realMoney}}
			  </a>
			</div>
		
		</div>
		
		<button ng-click="submitOrder(order)"  class="button button-full button-balanced">
		  微信支付(￥{{order.realMoney}})
		</button>
	</ion-content>
</ion-view>


<script type="text/ng-template" id="addressListDialog">
	<div class="clear"></div>
	<div class="phbWap clearfix line20">
	    <p class="">收货人：凌燕儿  18952467892</p>
	    <p class="">收货地址：江苏省南京市白下区光华路6号金陵尚府幢508室</p>
	</div>
	<div class="phbWap clearfix line20">
	    <p class="">收货人：凌燕儿  18952467892</p>
	    <p class="">收货地址：江苏省南京市白下区光华路6号金陵尚府幢508室</p>
	</div>
	<div class="phbWap clearfix line20">
	    <p class="">收货人：凌燕儿  18952467892</p>
	    <p class="">收货地址：江苏省南京市白下区光华路6号金陵尚府幢508室</p>
	</div>
	<div class="phbWap clearfix line20">
	    <p class="">收货人：凌燕儿  18952467892</p>
	    <p class="">收货地址：江苏省南京市白下区光华路6号金陵尚府幢508室</p>
	</div>
	<div class="phbWap clearfix line20">
	    <p class="">收货人：凌燕儿  18952467892</p>
	    <p class="">收货地址：江苏省南京市白下区光华路6号金陵尚府幢508室</p>
	</div>
	<div class="pad10 top10"><a href="" class="btns btns-ye btns-biggest">新建地址</a></div>

</script>


<script type="text/ng-template" id="firstDialog">
			<div class="ngdialog-message">
				<h2>Native Angular.js solution</h2>
				<div>With ngDialog you don't need jQuery or Bootstrap to create dialogs for <code>ng-app:</code></div>
				<ul class="mt">
					<li>Use it in controllers, factories or directives</li>
					<li>Create your own directives</li>
					<li>Style all UI and templates</li>
					<li>Configure themes</li>
					<li>Add animations and effects</li>
				</ul>
				<div class="mt">Module is shipped with both <code>ngDialog</code> service and default directive.</div>
			</div>
			<div class="ngdialog-buttons mt">
				<button type="button" class="ngdialog-button ngdialog-button-primary" ng-click="next()">►</button>
			</div>
</script>



